// const getActiveIconPath = name => `/package-guest/static/tabbar-icons/${name}.png`
const getActiveIconPath = name => `../../static/tabbar-icons/${name}.png`

export const tabItems = [
  {
    title: '项目概况',
    name: 'overview',
    activeIcon: getActiveIconPath('overview-active'),
    inactiveIcon: getActiveIconPath('overview-inactive'),
  },
  {
    title: '主线任务',
    name: 'demand',
    activeIcon: getActiveIconPath('demand-active'),
    inactiveIcon: getActiveIconPath('demand-inactive'),
  },
  {
    title: '支线任务',
    name: 'tasks',
    activeIcon: getActiveIconPath('tasks-active'),
    inactiveIcon: getActiveIconPath('tasks-inactive'),
  },
  {
    title: 'bug管理',
    name: 'work',
    activeIcon: getActiveIconPath('work-active'),
    inactiveIcon: getActiveIconPath('work-inactive'),
  },
]
